<%@ page import="your_car_status.Services" %>
<!DOCTYPE html>
<html>
  <head>
    <meta name="layout" content="main">
  <g:set var="entityName" value="${message(code: 'services.label', default: 'Services')}" />
  <title>New Service Package</title>
</head>
<body>
  <a href="#create-services" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
<g:link class="list" action="newCustomer">
  <div class="tabNoSelected">
    Customer
  </div>
</g:link>
<g:link class="list" action="newMechanical">
  <div class="tabNoSelected">
    Mechanical Tecnician
  </div>
</g:link>
<g:link class="list" action="newServicePackage">
  <div class="tabSelected">
    Services Packages
  </div>
</g:link>
<g:link class="list" action="edit" id="${Taller.id}">
  <div class="tabNoSelected">
    Edit My data
  </div>
</g:link> 
<g:link class="list" action="logout" controller="LogIn">
  <div class="tabNoSelected">Log Out</div>
</g:link>
<div class="tabContent"> 
  <g:link class="list" action="newServicePackage" >
    <div class="tabSelected">
      New
    </div>
  </g:link>
  <g:link class="list" action="listServicePackage" >
    <div class="tabNoSelected">
      List
    </div>
  </g:link>
</div>
<hr>
<div id="create-services" class="content scaffold-create" role="main">
  <g:if test="${flash.message}">
    <div class="message" role="status">${flash.message}</div>
  </g:if>
  <g:hasErrors bean="${servicesInstance}">
    <ul class="errors" role="alert">
      <g:eachError bean="${servicesInstance}" var="error">
        <li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message error="${error}"/></li>
      </g:eachError>
    </ul>
  </g:hasErrors>
  <g:form action="saveServicesPackage" >
    <fieldset class="form">
      <g:render template="formService"/>
    </fieldset>
    <fieldset class="buttons">
      <g:submitButton name="create" class="save" value="${message(code: 'Create')}" />
      <g:link class="save" action="listService" id="${carId}" >${message(code: 'Return')}</g:link>
    </fieldset>
  </g:form>
</div>
</body>
</html>